import request from "../utils/request";


//验证密码是否正确
let checkPwd = (userld,password) => {
        return request({
            url:"/user/pwd",
            method:"POST",
            data: {
                userld,
                password
            }
        })
}


//修改密码
let updatePwd = (userld,password) => {
    return request({
        url :"/user/pwd",
        method:"PUT",
        data:{
            userld,
            password
        }
    })
}